<!DOCTYPE html>
<html>

<head>

</head>

<body>

<form action="runcode.php"
      method="post" name="php_form"
>
   <input type="hidden" name="code" value="">
   <input type="hidden" name="folder" value="">
</form>

</body>

<script >
   document.php_form.code.value = opener.codeToRun();
   document.php_form.folder.value = opener.folderToRun();
   document.php_form.submit();
</script>

</html>
